package com.hins.demo.rpc;

import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * Description: rpc第三方取数据
 *
 * @author wenjiaqi
 * @date 2021/5/17 15:40
 */
@Component
public class YahooForexMapper {
    public BigDecimal getExchangeRate(String sourceCurrency, String targetCurrency) {
        return BigDecimal.ONE;
    }
}
